libcpupower: Hide private function
authorBen Hutchings <ben@decadent.org.uk>
Sat, 1 Dec 2018 19:22:50 +0000 (19:22 +0000)
committerRaspbian forward porter <root@raspbian.org>
Sun, 30 Oct 2022 17:31:56 +0000 (17:31 +0000)
commit5eca27e5b9ae77b4081939c94b4bad19fb2c7021
treee0e4cb7beb262fe97f8c5f736258d0d9aff67914
parente6dc47a17324727ab27a07f8ca056d0874f191d5
libcpupower: Hide private function

cpupower_read_sysfs() (previously known as sysfs_read_file()) is an
internal function in libcpupower and should not be exported when
libcpupower is a shared library.  Change its visibility to "hidden".

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name libcpupower-hide-private-function.patch
tools/power/cpupower/lib/cpupower.c